package com.woniu.moudle;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author w
 * @since 2021-11-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class HisPrescription implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 处方id
     */
    @TableId(value = "prescription_id", type = IdType.AUTO)
    private Integer prescriptionId;

    /**
     * 病历id
     */
    private Integer careId;

    /**
     * 医嘱id
     */
    private Integer orderFormId;

    /**
     * 药品id
     */
    private Integer medicineId;

    /**
     * 药品名称
     */
    private String medicineName;

    /**
     * 数量
     */
    private Integer prescriptionNum;

    /**
     * 单位
     */
    private Integer prescriptionCompany;

    /**
     * 单价
     */
    private BigDecimal prescriptionPrice;

    /**
     * 0未付费 1已付费,付款情况
     */
    private Integer prescriptionIspay;

    /**
     * 领药情况,0未领药 1已领药
     */
    private Integer prescriptionIsreceive;

    /**
     * 用药开始时间
     */
    private Date startTime;

    /**
     * 用药结束时间
     */
    private Date endTime;

    /**
     * 记录新增时间
     */
    private LocalDateTime rawAddTime;

    /**
     * 记录更新时间
     */
    private LocalDateTime rawUpdateTime;


}
